﻿#region Usings

using System.Data.Services;
using System.Data.Services.Common;

#endregion

namespace KanbanBoard.Server.Query {
    public class TaskBoardQueryService : DataService<ReadModel> {
        public static void InitializeService(DataServiceConfiguration config) {
            config.SetEntitySetAccessRule("*", EntitySetRights.AllRead);
            config.DataServiceBehavior.MaxProtocolVersion = DataServiceProtocolVersion.V2;
        }
    }
}